package com.fyt.ZhongYaoApp.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

@Data
public class DoctorQueery {
    private Integer id;
    private String dName;
    private String worktime;
    private String dcName;
    private String patNum;
    private String star;
    private String dPic;
    private String hName;
    private String phone;
    private String introduction;
    private String drection;
    private String level;
    private int sex;

    private Map<String,String> goodDisease;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;// 创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;// 更新时间

    public DoctorQueery() {
    }

    public DoctorQueery(Integer id, String dName, String worktime, String dcName, String patNum, String star, String dPic, String hospital, String phone, LocalDateTime createTime, LocalDateTime updateTime) {
        this.id = id;
        this.dName = dName;
        this.worktime = worktime;
        this.dcName = dcName;
        this.patNum = patNum;
        this.star = star;
        this.dPic = dPic;
        this.hName = hospital;
        this.phone = phone;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }
}
